package com.alibaba.mapper;

import com.alibaba.define.domain.UserDO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author : hanyang
 * @date : 2023-11-03 09:12
 **/

@Mapper
public interface UserMapper {

    List<UserDO> select(Map<String, Object> conditionMap);

    List<UserDO> selectUserDOByIds(@Param("userIds") Set<Long> userIds);

    int updateUserInfo(UserDO user);

    int insert(UserDO userDO);
}
